package org.edu.modules.research.rbase.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-教科研经费审核人
 */
@TableName
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="教科研经费审核人对象", description="ve_jky_admin")
public class VeJkyAdmin extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "用户id(公共数据表)")
    private String userId;

    @TableField
    @ApiModelProperty(value = "姓名")
    @Length(max = 255)
    private String name;

    @TableField
    @ApiModelProperty(value = "电话")
    @Length(max = 20)
    private String phone;

    @TableField
    @ApiModelProperty(value = "工号")
    @Length(max = 20)
    private String workNum;

    @TableField
    @ApiModelProperty(value = "部门")
    @Length(max = 20)
    private String depart;

    @TableField
    @ApiModelProperty(value = "职务")
    @Length(max = 20)
    private String posts;
}
